/*
 * v1.1 by tonydon
 * netbeansIDE 7.1
 */
package cn.txdnet.txcms.mapper;

import cn.txdnet.txcms.domain.Catalogs;
import java.util.List;
import java.util.Map;

/**
 *
 * @author txdnet
 */
public interface CatalogsMapper {
    
    int querySeqIdForCatalogs();
    int insertCatalogs(Catalogs ct);
    int updateCtp(Catalogs ct);
    int updateNodenum(Catalogs ct);
    int updateBase(Map m);
    int deleteFinal(int cid);
    List<Map> listByFactor(Map m);
    List<Catalogs> listByCtp(String ctp);
    int queryCatalogsCount();
    List<Catalogs> queryBatchCatalogs(Map m);
    Catalogs queryCatalogsByCid(Integer cid);
    List<?> queryCatalogsListByRid(Integer rid);
}
